package com.py.warehouse.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 盘点列表对象 wh_inventory_check
 * 
 * @author 姜威
 * @date 2024-12-04
 */
@ToString
public class WhInventoryCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 盘点Id */
    private Long checkId;

    /** 盘点编号 */
    @Excel(name = "盘点编号")
    private String checkCode;

    /** 盘点结果 */
    @Excel(name = "盘点结果")
    private Long checkResult;

    /** 审核 */
    private String checkStatus;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 盘点类型 */
    @Excel(name = "盘点类型")
    private Long checkType;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkStarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkEndtime;

    /** 经办人 */
    @Excel(name = "经办人")
    private String handledBy;

    /** 逻辑删除 */
    private String isDelete;

    /** 备注 */
    private String checkRemark;

    /** 盘点数量 */
    private Integer checkNumber;

    /** 盘盈数量 */
    private Integer yesInventoryNumber;

    /** 盘亏数量 */
    private Integer noInventoryNumber;

    /** 盘盈金额 */
    private Integer yesInventoryPrice;

    /** 盘亏金额 */
    private Integer noInventoryPrice;

    /** 文件 */
    @Transient
    private List<Object> fileList;

    @Transient
    private Integer number;
    @Transient
    private Integer codeId;
    @Transient
    private List<WhCheckDetails> whCheckDetails;
    @Transient
    private List<PyAttachment> pyAttachments;

    @Transient
    private Integer warehousing;
    @Transient
    private Integer exWarehousing;

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }
    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setCheckCode(String checkCode) 
    {
        this.checkCode = checkCode;
    }

    public String getCheckCode() 
    {
        return checkCode;
    }
    public void setCheckResult(Long checkResult) 
    {
        this.checkResult = checkResult;
    }

    public Long getCheckResult() 
    {
        return checkResult;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setCheckType(Long checkType) 
    {
        this.checkType = checkType;
    }

    public Long getCheckType() 
    {
        return checkType;
    }
    public void setCheckStarttime(Date checkStarttime) 
    {
        this.checkStarttime = checkStarttime;
    }

    public Date getCheckStarttime() 
    {
        return checkStarttime;
    }
    public void setCheckEndtime(Date checkEndtime) 
    {
        this.checkEndtime = checkEndtime;
    }

    public Date getCheckEndtime() 
    {
        return checkEndtime;
    }
    public void setHandledBy(String handledBy) 
    {
        this.handledBy = handledBy;
    }

    public String getHandledBy() 
    {
        return handledBy;
    }
    public void setIsDelete(String isDelete) 
    {
        this.isDelete = isDelete;
    }

    public String getIsDelete() 
    {
        return isDelete;
    }
    public void setCheckRemark(String checkRemark) 
    {
        this.checkRemark = checkRemark;
    }

    public String getCheckRemark() 
    {
        return checkRemark;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public Integer getCodeId() {
        return codeId;
    }

    public void setCodeId(Integer codeId) {
        this.codeId = codeId;
    }

    public List<Object> getFileList() {
        return fileList;
    }

    public void setFileList(List<Object> fileList) {
        this.fileList = fileList;
    }

    public List<WhCheckDetails> getWhCheckDetails() {
        return whCheckDetails;
    }

    public void setWhCheckDetails(List<WhCheckDetails> whCheckDetails) {
        this.whCheckDetails = whCheckDetails;
    }

    public List<PyAttachment> getPyAttachments() {
        return pyAttachments;
    }

    public void setPyAttachments(List<PyAttachment> pyAttachments) {
        this.pyAttachments = pyAttachments;
    }

    public Integer getCheckNumber() {
        return checkNumber;
    }

    public void setCheckNumber(Integer checkNumber) {
        this.checkNumber = checkNumber;
    }

    public Integer getYesInventoryNumber() {
        return yesInventoryNumber;
    }

    public void setYesInventoryNumber(Integer yesInventoryNumber) {
        this.yesInventoryNumber = yesInventoryNumber;
    }

    public Integer getYesInventoryPrice() {
        return yesInventoryPrice;
    }

    public void setYesInventoryPrice(Integer yesInventoryPrice) {
        this.yesInventoryPrice = yesInventoryPrice;
    }

    public Integer getNoInventoryNumber() {
        return noInventoryNumber;
    }

    public void setNoInventoryNumber(Integer noInventoryNumber) {
        this.noInventoryNumber = noInventoryNumber;
    }

    public Integer getNoInventoryPrice() {
        return noInventoryPrice;
    }

    public void setNoInventoryPrice(Integer noInventoryPrice) {
        this.noInventoryPrice = noInventoryPrice;
    }

    public Integer getWarehousing() {
        return warehousing;
    }

    public void setWarehousing(Integer warehousing) {
        this.warehousing = warehousing;
    }

    public Integer getExWarehousing() {
        return exWarehousing;
    }

    public void setExWarehousing(Integer exWarehousing) {
        this.exWarehousing = exWarehousing;
    }
}
